import time

from page.base import Base
from page.register import Register
from selenium.webdriver.common.by import By

class Login(Base):
    def login(self):
        time.sleep(3)
        self.find(By.CSS_SELECTOR,'.login_registerBar_link').click()
        time.sleep(2)
        return Register(self._driver)

